#!/usr/bin/env python
# -*- encoding: utf-8 -*-
# Project: spd-sxmcc
"""
@author: lyndon
@time Created on 2018/11/21 15:41
@desc
"""
from pyquery import PyQuery as pq
doc = pq(filename='pytest.txt')
print doc.html()
print type(doc)
li = doc('dd')
print type(li)
itemli = li.items()
# print(itemli)
xarr = [x.text() for x in itemli]
for i in xarr:
    print(i)
# print li.text()